import Vue from 'vue'
import 'normalize.css/normalize.css'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import locale from 'element-ui/lib/locale/lang/en' // 设置 ElementUI 的语言为英文
import '@/styles/index.scss' 
import App from './App'
import store from './store'
import router from './router'
import '@/icons' // 图标
import '@/permission' // 权限控制
import permission from '@/directive/permission' // 权限指令
import echarts from './utils/echarts5' // 引入echarts
import waterfall from 'vue-waterfall2'
Vue.use(waterfall)

Vue.prototype.$echarts = echarts // 全局替换
Vue.use(ElementUI, { locale })
Vue.use(permission)
Vue.config.productionTip = false

new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
